<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewAnuncioDeVagaTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_id}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.id}" title="#{bundle.ViewAnuncioDeVagaTitle_id}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_empresa}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.empresa}" title="#{bundle.ViewAnuncioDeVagaTitle_empresa}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_descricao}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.descricao}" title="#{bundle.ViewAnuncioDeVagaTitle_descricao}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_titulo}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.titulo}" title="#{bundle.ViewAnuncioDeVagaTitle_titulo}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_areaDeAtuacaoDoEstagio}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.areaDeAtuacaoDoEstagio}" title="#{bundle.ViewAnuncioDeVagaTitle_areaDeAtuacaoDoEstagio}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_requisitos}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.requisitos}" title="#{bundle.ViewAnuncioDeVagaTitle_requisitos}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_beneficios}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.beneficios}" title="#{bundle.ViewAnuncioDeVagaTitle_beneficios}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_contatos}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.contatos}" title="#{bundle.ViewAnuncioDeVagaTitle_contatos}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_dataDoAnuncio}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.dataDoAnuncio}" title="#{bundle.ViewAnuncioDeVagaTitle_dataDoAnuncio}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_dataDeValidade}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.dataDeValidade}" title="#{bundle.ViewAnuncioDeVagaTitle_dataDeValidade}"/>
                    <h:outputText value="#{bundle.ViewAnuncioDeVagaLabel_quantidadeDeVagas}"/>
                    <h:outputText value="#{anuncioDeVagaController.selected.quantidadeDeVagas}" title="#{bundle.ViewAnuncioDeVagaTitle_quantidadeDeVagas}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{anuncioDeVagaController.destroyAndView}" value="#{bundle.ViewAnuncioDeVagaDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewAnuncioDeVagaEditLink}"/>
                <br />
                <h:commandLink action="#{anuncioDeVagaController.prepareCreate}" value="#{bundle.ViewAnuncioDeVagaCreateLink}" />
                <br />
                <h:commandLink action="#{anuncioDeVagaController.prepareList}" value="#{bundle.ViewAnuncioDeVagaShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewAnuncioDeVagaIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
